<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>网站后台管理系统HTML模板--模板之家 www.cssmoban.com</title>
<link href="__STATIC__/admin/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__STATIC__/admin/js/jquery.js"></script>
<!-- 可以实现对不同分辨率设备的支持 -->
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!--导入Bootstrap的css样式-->
  <link rel="stylesheet" href="__STATIC__/admin/bootstrap/css/bootstrap.css" >
  <!--导入jQuery文件（必须先导入jQuery的文件）-->
  <script src="__STATIC__/admin/bootstrap/js/jquery.js"></script>
  <!--导入bootstrap.js -->
  <script src="__STATIC__/admin/bootstrap/js/bootstrap.js"></script>
<script type="text/javascript">
$(document).ready(function(){
  $(".click").click(function(){
  $(".tip").fadeIn(200);
  });
  
  $(".tiptop a").click(function(){
  $(".tip").fadeOut(200);
});

  $(".sure").click(function(){
  $(".tip").fadeOut(100);
});

  $(".cancel").click(function(){
  $(".tip").fadeOut(100);
});

});
</script>


</head>


<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">数据表</a></li>
    <li><a href="#">基本内容</a></li>
    </ul>
    </div>
    
    <div class="rightinfo">
    
    <div class="tools">
    
    	<ul class="toolbar">
        <li class="click"><span><img src="__STATIC__/admin/images/t01.png" /></span><a href="{:url('Admin/admin_add')}">添加</a></li>
        <li class="click"><span><img src="__STATIC__/admin/images/t02.png" /></span><a href="{:url('Admin/admin_update')}">修改</a></li>
        <li><span><img src="__STATIC__/admin/images/t03.png" /></span><a href="{:url('Admin/admin_delete')}">删除</a></li>
        <li><span><img src="__STATIC__/admin/images/t04.png" /></span>统计</li>
        </ul>
        
        
        <ul class="toolbar1">
        <li><span><img src="__STATIC__/admin/images/t05.png" /></span>设置</li>
        </ul>
    
    </div>
    
    
    <table class="tablelist">
    	<thead>
    	<tr>
        <th><input name="" type="checkbox" value="" checked="checked"/></th>
        <th>管理员姓名<i class="sort"><img src="__STATIC__/admin/images/px.gif" /></i></th>
        <th>密码</th>
        <th>等级编号</th> 
        {if condition="$Think.session.r_id==1"}       
        <th>操作</th>
        {/if}
        </tr>
        </thead>
        <tbody>
       
         {volist name="list" id="admin"}
         <tr>
            <td><input name="" type="checkbox" value="" /></td>
            <td>{$admin.a_name}</td>
            <td>{$admin.a_pwd}</td>
            <td>{$admin.r_role}</td>
           {if condition="$Think.session.r_id==1"}            
            <td><a href="{:url('Admin/admin_update',['a_id'=>$admin.a_id])}" class="tablelink" >修改</a>  |   <a href="{:url('Admin/admin_delete',['a_id'=>$admin.a_id])}" class="tablelink"> 删除</a></td>
           {/if}
         </tr>
         {/volist}
        </tbody>
    </table>
    
   
     <div style="padding-left:400px">  	
        <ul>
        <li>{$list->render()}</li>
        </ul>
    </div>

    <div class="tip">
    	<div class="tiptop"><span>提示信息</span><a></a></div>
        
      <div class="tipinfo">
        <span><img src="__STATIC__/admin/images/ticon.png" /></span>
        <div class="tipright">
        <p>是否确认对信息的修改 ？</p>
        <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
        </div>
        </div>
        
        <div class="tipbtn">
        <input name="" type="button"  class="sure" value="确定" />&nbsp;
        <input name="" type="button"  class="cancel" value="取消" />
        </div>
    
    </div>
    
    
    
    
    </div>
    
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>
</body>
</html>
